package com.linkzd.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.linkzd.common.annotation.Excel;
import com.linkzd.common.core.domain.BaseEntity;

/**
 * 设备类型对象 device_type
 * 
 * @author ruoyi
 * @date 2024-05-18
 */
public class DeviceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备类型编号 */
    private Long deviceTypeId;

    /** 设备种类 */
    @Excel(name = "设备种类")
    private Integer deviceVariety;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Long deviceType;

    /** 数据类型id */
    @Excel(name = "数据类型id")
    private Long dataTypeId;

    public void setDeviceTypeId(Long deviceTypeId) 
    {
        this.deviceTypeId = deviceTypeId;
    }

    public Long getDeviceTypeId() 
    {
        return deviceTypeId;
    }
    public void setDeviceVariety(Integer deviceVariety) 
    {
        this.deviceVariety = deviceVariety;
    }

    public Integer  getDeviceVariety()
    {
        return deviceVariety;
    }
    public void setDeviceType(Long deviceType)
    {
        this.deviceType = deviceType;
    }

    public Long getDeviceType()
    {
        return deviceType;
    }
    public void setDataTypeId(Long dataTypeId)
    {
        this.dataTypeId = dataTypeId;
    }

    public Long getDataTypeId() 
    {
        return dataTypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceTypeId", getDeviceTypeId())
            .append("deviceVariety", getDeviceVariety())
            .append("deviceType", getDeviceType())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("dataTypeId", getDataTypeId())
            .toString();
    }
}
